package com.micangcaihang.micang.http.request;

/**
 * <pre>
 *     author : Fandy
 *     e-mail : fandayongfly@gmail.com
 *     time   : 2017/8/7
 *     update : 2017/8/7
 *     desc   : 风控贷款信息请求信息
 *     version: 1.0
 * </pre>
 */
public class FTaskLoansInfoRequest {

    /**
     * loan_date_start : 1499884200
     * loan_date_end : 1500402600
     * apply_money : 200.00
     * is_provident : 0
     * channel_name : 链家地产
     * actual_money : 3000.00
     * is_lease : 1
     * property_owner : 王思聪
     * customer_id : 1057
     * customer_name : 多福多寿
     * business_source : 1000
     * guaranty_assets : 房产
     * guaranty_amount : 3
     * loaner_use : 1
     * repay_source : 3200
     * risk_address : 公司
     * get_date : null
     * choose_list : {"loaner_use":"个人消费"}
     */
    private String id;
    private String loan_date_start;// 借款时间开始
    private String loan_date_end;  // 借款时间结束
    private String apply_money;// 申请金额
    private String is_provident;// 是否使用公积金
    private String channel_name;// 渠道费
    private String actual_money;// 实际借款金额
    private String is_lease;// 租赁情况
    private String property_owner;// 产权人
    private String customer_id;// 借款人id
    private String customer_name;// 借款人姓名
    private String business_source; // 业务来源
    private String guaranty_assets; // 担保资产
    private String guaranty_amount; // 担保数量
    private String loaner_use;// 借款用途
    private String repay_source;// 还款来源
    private String risk_address;// 面审地点
    private String get_date; // 房产证取得时间

    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoan_date_start() {
        return loan_date_start;
    }

    public void setLoan_date_start(String loan_date_start) {
        this.loan_date_start = loan_date_start;
    }

    public String getLoan_date_end() {
        return loan_date_end;
    }

    public void setLoan_date_end(String loan_date_end) {
        this.loan_date_end = loan_date_end;
    }

    public String getApply_money() {
        return apply_money;
    }

    public void setApply_money(String apply_money) {
        this.apply_money = apply_money;
    }

    public String getIs_provident() {
        return is_provident;
    }

    public void setIs_provident(String is_provident) {
        this.is_provident = is_provident;
    }

    public String getChannel_name() {
        return channel_name;
    }

    public void setChannel_name(String channel_name) {
        this.channel_name = channel_name;
    }

    public String getActual_money() {
        return actual_money;
    }

    public void setActual_money(String actual_money) {
        this.actual_money = actual_money;
    }

    public String getIs_lease() {
        return is_lease;
    }

    public void setIs_lease(String is_lease) {
        this.is_lease = is_lease;
    }

    public String getProperty_owner() {
        return property_owner;
    }

    public void setProperty_owner(String property_owner) {
        this.property_owner = property_owner;
    }

    public String getCustomer_id() {
        return customer_id == null ? "" : customer_id;

    }

    public void setCustomer_id(String customer_id) {
        this.customer_id = customer_id;
    }

    public String getCustomer_name() {
        return customer_name == null ? "" : customer_name;

    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getBusiness_source() {
        return business_source;
    }

    public void setBusiness_source(String business_source) {
        this.business_source = business_source;
    }

    public String getGuaranty_assets() {
        return guaranty_assets;
    }

    public void setGuaranty_assets(String guaranty_assets) {
        this.guaranty_assets = guaranty_assets;
    }

    public String getGuaranty_amount() {
        return guaranty_amount;
    }

    public void setGuaranty_amount(String guaranty_amount) {
        this.guaranty_amount = guaranty_amount;
    }

    public String getLoaner_use() {
        return loaner_use;
    }

    public void setLoaner_use(String loaner_use) {
        this.loaner_use = loaner_use;
    }

    public String getRepay_source() {
        return repay_source;
    }

    public void setRepay_source(String repay_source) {
        this.repay_source = repay_source;
    }

    public String getRisk_address() {
        return risk_address;
    }

    public void setRisk_address(String risk_address) {
        this.risk_address = risk_address;
    }

    public String getGet_date() {
        return get_date == null || "0".equals(get_date) ? "" : get_date;
    }

    public void setGet_date(String get_date) {
        this.get_date = get_date;
    }

    @Override
    public String toString() {
        return "FTaskLoansInfoRequest{" +
                "id='" + id + '\'' +
                ", loan_date_start='" + loan_date_start + '\'' +
                ", loan_date_end='" + loan_date_end + '\'' +
                ", apply_money='" + apply_money + '\'' +
                ", is_provident='" + is_provident + '\'' +
                ", channel_name='" + channel_name + '\'' +
                ", actual_money='" + actual_money + '\'' +
                ", is_lease='" + is_lease + '\'' +
                ", property_owner='" + property_owner + '\'' +
                ", customer_id='" + customer_id + '\'' +
                ", customer_name='" + customer_name + '\'' +
                ", business_source='" + business_source + '\'' +
                ", guaranty_assets='" + guaranty_assets + '\'' +
                ", guaranty_amount='" + guaranty_amount + '\'' +
                ", loaner_use='" + loaner_use + '\'' +
                ", repay_source='" + repay_source + '\'' +
                ", risk_address='" + risk_address + '\'' +
                ", get_date='" + get_date + '\'' +
                '}';
    }
}
